<template>
  <div class="cloudModel">
    <el-radio-group @change='onTab' v-model="tabPosition" style="margin-bottom: 30px">
      <el-radio-button label="1">AI·云模型</el-radio-button>
      <el-radio-button label="2">助手</el-radio-button>
      <el-radio-button label="3">商务</el-radio-button>
      <el-radio-button label="4">大健康</el-radio-button>
    </el-radio-group>
  </div>
  <cardModel v-if="tabPosition === '1'" />
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import cardModel from "./components/model/index.vue";

const tabPosition = ref('1')
const onTab = () => { }
</script>

<style>
.cloudModel {
  .el-radio-button__inner {
    border-left: 1px solid #dcdfe6 !important;
    margin-right: 20px !important;
    border-radius: 20px !important;
    background: #EEE;
  }

  .el-radio-button__original-radio:checked+.el-radio-button__inner {
    color: #333;
    background-color: #fff;
    border-color: #dcdfe6;
    box-shadow: 0px 0 0 0 #dcdfe6;
  }

  .el-radio-button__inner:hover {
    color: #333;
  }
}
</style>
